import { TestCases } from "./testCases";
import { url } from "@kit.ArkTS";

export const local_region_override:TestCases = {
  "testCases": [
    {
      "documentation": "local region override",
      "params": {
        "Region": "local"
      },
      "expect": {
        "endpoint": {
          "url": url.URL.parseURL("http://localhost:8080")
        }
      }
    },
    {
      "documentation": "standard region templated",
      "params": {
        "Region": "us-east-2"
      },
      "expect": {
        "endpoint": {
          "url": url.URL.parseURL("https://us-east-2.someservice.amazonaws.com")
        }
      }
    }
  ],
  "version": "1.4"
}
